From 0c04667cacfbc3f2839058a22f911e7a2d68fb86 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Fri, 29 May 2015 16:07:03 -0700 Subject: [PATCH] registration: Don't hardcode list of extension types in schema Extension types can be added via a hook, so don't try and validate against a hardcoded list. Change-Id: I0bc6fbcedc0b582b81c7037724ad01441ae415f6 --- docs/extension.schema.json | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/docs/extension.schema.json b/docs/extension.schema.json index c4d0513df7..05f0c45e68 100644 --- a/docs/extension.schema.json +++ b/docs/extension.schema.json @@ -20,19 +20,7 @@ "type": { "type": "string", "description": "The extension's type, as an index to $wgExtensionCredits.", - "default": "other", - "enum": [ - "api", - "antispam", - "datavalues", - "media", - "parserhook", - "semantic", - "skin", - "specialpage", - "variable", - "other" - ] + "default": "other" }, "author": { "type": [ -- 2.20.1